﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ReplaceFileVersion
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            if (args != null && args.Length > 1)
            {
                var fileV = new ReplaceJsComma(args[0], args[1])
                {
                };
                fileV.Replace();
                Console.WriteLine("execute success.");
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new ReplaceJsCommaForm());
        }
    }
}
